import Vue from 'vue'
import { getAction } from '@/api/manage'

const materialprocurement = {
  state: {
    purchasePlanDetailList: [],
    /*purchaseType:'',*/
  },

  mutations: {
    SET_PurchasePlanDetailList: (state, para) => {
      state.purchasePlanDetailList = para
    },
    /*SET_PurchaseType: (state, para) => {
      state.purchaseType = para
    }*/
  },

  actions: {
    savePurchasePlanDetailList({ commit }, para){
      commit('SET_PurchasePlanDetailList', para)
    },
    /*savePurchaseType({ commit }, para){
      commit('SET_PurchaseType', para)
    }*/

  }
}

export default materialprocurement